package com.qf.smsplatform.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * //@EnableDiscoveryClient   注册到注册中心，可以是Eureka，Nacos，Zookeeper，Redis，Console…………
 * // @EnableEurekaClient     注册中心必须是Eureka
 * 配置中心服务
 * @author zjw
 */
@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class,args);
    }
}
